
function setActivityRule(){
	var activity={};
	activity.independentUser=$("#select_all").val();
	activity.SystemUser=$("#select_all2").val();
	activity.activityTitle=$("#activityTitle").val();
	activity.dateBegin=$("#dateBegin").val();
	activity.dateEnd=$("#dateEnd").val();
	activity.wecharFans=$("#select_all3").val();
	activity.xiwoUser=$("#select_all4").val();

	console.log(JSON.stringify(activity));
	if( $('#select_all').is(':checked') ){
		console.log("1");
	}else{
		console.log("0");
	}
	//self.location = "奖励配置.html"
}